package com.huika.dealontop.db.bean;

/**
 * Created by huhao on 2016/1/26.
 */
public class SearchHotKey implements Comparable<SearchHotKey>{

    private int _id;
    private String key;
    private Integer count;

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public int get_id() {
        return _id;
    }

    public void set_id(int _id) {
        this._id = _id;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    @Override
    public int compareTo(SearchHotKey o) {
        return o.count.compareTo(this.count);  //倒序
    }
}
